package dto;


import java.sql.Date;

import model.IssueSlipItem;

public class IssueSlip 
{
	private int autoissueSlipNo;
	private int issueNo;
	private int idContractor;
	private int idEmployee;
	private int idProject;
	private int bldgNo;
	private int flatNo;
	private Date genratedDate;
	private int status;
	
	//Model Attributes
	private IssueSlipItem[] modelslipitems;
	private String modelprojectName;
	private String modelEmployeeName;
	private String modelBldgName;
	private String modelFlatName;
	private String modelcontractorName;
	
	
	
	public IssueSlip() {
		// TODO Auto-generated constructor stub
	}
	//Constructor for DTO
	public IssueSlip(int autoissueSlipNo, int issueNo, int idContractor,
			int idEmployee, int idProject, int bldgNo, int flatNo,
			Date genratedDate, int status) {
		super();
		this.autoissueSlipNo = autoissueSlipNo;
		this.issueNo = issueNo;
		this.idContractor = idContractor;
		this.idEmployee = idEmployee;
		this.idProject = idProject;
		this.bldgNo = bldgNo;
		this.flatNo = flatNo;
		this.genratedDate = genratedDate;
		this.status = status;
	}

	
//Constructor for MODEL attributes
	public IssueSlip(IssueSlipItem[] modelslipitems, String modelprojectName,
			String modelEmployeeName, String modelBldgName, String modelFlatName) {
		super();
		this.modelslipitems = modelslipitems;
		this.modelprojectName = modelprojectName;
		this.modelEmployeeName = modelEmployeeName;
		this.modelBldgName = modelBldgName;
		this.modelFlatName = modelFlatName;
	}
	public int getAutoissueSlipNo() {
		return autoissueSlipNo;
	}
	public void setAutoissueSlipNo(int autoissueSlipNo) {
		this.autoissueSlipNo = autoissueSlipNo;
	}
	public int getIssueNo() {
		return issueNo;
	}
	public void setIssueNo(int issueNo) {
		this.issueNo = issueNo;
	}
	public int getIdContractor() {
		return idContractor;
	}
	public void setIdContractor(int idContractor) {
		this.idContractor = idContractor;
	}
	public int getIdEmployee() {
		return idEmployee;
	}
	public void setIdEmployee(int idEmployee) {
		this.idEmployee = idEmployee;
	}
	public int getIdProject() {
		return idProject;
	}
	public void setIdProject(int idProject) {
		this.idProject = idProject;
	}
	public int getBldgNo() {
		return bldgNo;
	}
	public void setBldgNo(int bldgNo) {
		this.bldgNo = bldgNo;
	}
	public int getFlatNo() {
		return flatNo;
	}
	public void setFlatNo(int flatNo) {
		this.flatNo = flatNo;
	}
	public Date getGenratedDate() {
		return genratedDate;
	}
	public void setGenratedDate(Date genratedDate) {
		this.genratedDate = genratedDate;
	}
	public int getStatus() {
		return status;
	}
	public void setStatus(int status) {
		this.status = status;
	}
	public IssueSlipItem[] getModelslipitems() {
		return modelslipitems;
	}
	public void setModelslipitems(IssueSlipItem[] modelslipitems) {
		this.modelslipitems = modelslipitems;
	}
	public String getModelprojectName() {
		return modelprojectName;
	}
	public void setModelprojectName(String modelprojectName) {
		this.modelprojectName = modelprojectName;
	}
	public String getModelEmployeeName() {
		return modelEmployeeName;
	}
	public void setModelEmployeeName(String modelEmployeeName) {
		this.modelEmployeeName = modelEmployeeName;
	}
	public String getModelBldgName() {
		return modelBldgName;
	}
	public void setModelBldgName(String modelBldgName) {
		this.modelBldgName = modelBldgName;
	}
	public String getModelFlatName() {
		return modelFlatName;
	}
	public void setModelFlatName(String modelFlatName) {
		this.modelFlatName = modelFlatName;
	}
	public String getmodelcontractorName() {
		return modelcontractorName;
	}
	public void setmodelcontractorName(String modelcontractorName) {
		this.modelcontractorName = modelcontractorName;
	}

}
